mkdir %1up
patch-cfg.exe < %1\contest.cfg > %1up\contest.cfg
patch-today-cfg.exe %1  < ..\today.cfg > tmp.cfg
move tmp.cfg ..\today.cfg
